﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="link.aspx.cs" Inherits="DtCms.Web.link" ValidateRequest="false" %>
<%@ Import namespace="DtCms.Common" %>
<%@ Register TagPrefix="DtContorl" Namespace="DtCms.Web.UI" Assembly="DtCms.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>友情链接 - <%=SiteConfig.WebName%></title>
<!-- ===== seo ===== -->
<%=AddMetaInfo(SiteConfig.WebKeywords, SiteConfig.WebDescription)%>
<!-- ===== css ===== -->
<link rel="shortcut icon" href="<%=SiteConfig.WebPath%>favicon.ico" mce_href="<%=SiteConfig.WebPath%>favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="<%=SiteTemplatePath("default")%>css/style.css" />
<script type="text/javascript" src="<%=SiteConfig.WebPath%>js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<%=SiteConfig.WebPath%>js/jquery.form.js"></script>
<script type="text/javascript" src="<%=SiteConfig.WebPath%>js/jquery.validate.min.js"></script>
<script type="text/javascript" src="<%=SiteConfig.WebPath%>js/messages_cn.js"></script>
<link type="text/css" rel="stylesheet" href="<%=SiteConfig.WebPath%>images/library/msg.css" />
<script type="text/javascript" src="<%=SiteConfig.WebPath%>images/library/msg.js"></script>
<script type="text/javascript" src="<%=SiteTemplatePath("default")%>js/send_json.js"></script>
<script type="text/javascript" src="<%=SiteTemplatePath("default")%>js/base.js"></script>
<script type="text/javascript">
$(function() {
    //初始化表单
    AjaxOnSubmit("comment_form", "btnSubmit", "<%=SiteConfig.WebPath%>Tools/Submit_json.ashx?action=link");
});
</script>
</head>
<body>

<!--[if lt IE 7]>
	<div style='border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; position: relative;'>
		<div style='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'><a href='#' onclick='javascript:this.parentNode.parentNode.style.display="none"; return false;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg' style='border: none;' alt='关闭此通知'/></a></div>
		<div style='width: 640px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'>
			<div style='width: 75px; float: left;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg' alt='Warning!'/></div>
			<div style='width: 275px; float: left; font-family: Arial, sans-serif;'>
				<div style='font-size: 14px; font-weight: bold; margin-top: 12px;'>您使用的是过时的浏览器</div>
				<div style='font-size: 12px; margin-top: 6px; line-height: 14px;'>为了获得更好的浏览体验，<br />推荐使用右侧所示的先进浏览器。</div>
			</div>
			<div style='width: 75px; float: left;'><a href='http://www.firefox.com' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-firefox.jpg' style='border: none;' alt='Get Firefox'/></a></div>
			<div style='width: 75px; float: left;'><a href='http://windows.microsoft.com/zh-CN/internet-explorer/downloads/ie' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-ie8.jpg' style='border: none;' alt='Get Internet Explorer'/></a></div>
			<div style='width: 73px; float: left;'><a href='http://www.apple.com/safari/download/' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-safari.jpg' style='border: none;' alt='Get Safari'/></a></div>
			<div style='float: left;'><a href='http://www.google.com/chrome' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-chrome.jpg' style='border: none;' alt='Get Google Chrome'/></a></div>
		</div>
	</div>
<![endif]-->


<div class="top">
	<!-- ===== LOGO ===== -->
	<h1><a href="<%=SiteConfig.WebUrl%>">DTcms</a></h1>
	<a href="<%=SiteConfig.WebUrl%>" target="_blank" class="dt_logo">动力起航</a>
	<!-- ===== 导航 ===== -->
	<ul class="nav">
		<li><a href="<%=URLRewrite("index", "")%>">主页</a></li>
		<li><a href="<%=URLRewrite("article", "")%>">资讯中心</a></li>
		<li><a href="<%=URLRewrite("picture", "")%>">图文中心</a></li>
		<li><a href="<%=URLRewrite("download", "")%>">下载中心</a></li>
		<li><a href="<%=URLRewrite("feedback", "")%>">在线留言</a></li>
		<li><a href="<%=URLRewrite("content", "about")%>">关于我们</a></li>
		<li><a href="<%=URLRewrite("content", "contact")%>">联系我们</a></li>
	</ul>
</div>

<!-- ===== 正文内容 ===== -->
<div class="container">
	
    <div class="search_box">
        <input id="txtKeywords" name="txtKeywords" type="text" class="text" value="<%=Request.QueryString["keyword"]%>" />
	    <input type="button" class="button" onclick="SiteSearch('<%=SiteConfig.WebPath%>search.aspx', '#txtKeywords');" />
	</div>

	<div class="clear"></div>
	<!-- ===== 面包屑与功能按钮 ===== -->
	<div class="bread_crumbs"><a href="<%=URLRewrite("index", "")%>">主页</a> > 友情链接
		<div class="right_function_key"> <a href="javascript:void(0);" onclick="SetFontSize('.sitelink', 12);"><img src="<%=SiteTemplatePath("default")%>images/font_delete.png" width="16" height="16" /> 缩小</a><a href="javascript:void(0);" onclick="SetFontSize('.sitelink', 16);"><img src="<%=SiteTemplatePath("default")%>images/font_add.png" width="16" height="16" /> 放大</a><a href="javascript:window.print();"><img src="<%=SiteTemplatePath("default")%>images/printer.png" width="16" height="16" /> 打印</a> </div>
	</div>
	<!-- ===== 左侧正文 ===== -->
	<div class="page_left">
		<h2 id="page_title">友情链接</h2>
		<div class="content_box">
			<div class="blue_box"><a href="#link">== 点击这里申请加入友情链接 ==</a></div>
			<br />
			<h2>文字链接</h2>
			<p class="linktxt">
			  <DtContorl:Repeater ID="rptLinkTxt" runat="server" onload="Link_List_DataBind" Where="IsLock=0 and IsImage=0">
                <ItemTemplate>
                <a target="_blank" href="<%#Eval("WebUrl")%>"><%#Eval("Title")%></a>
                </ItemTemplate>
              </DtContorl:Repeater>
			</p>
			<h2>图片链接</h2>
			<ul class="linkimg">
				<DtContorl:Repeater ID="rptLinkImg" runat="server" onload="Link_List_DataBind" Where="IsLock=0 and IsImage=1">
                  <ItemTemplate>
                  <a target="_blank" href="<%#Eval("WebUrl")%>"><img src="<%#Eval("ImgUrl")%>" alt="<%#Eval("Title")%>" width="88" height="31" /></a>
                  </ItemTemplate>
                </DtContorl:Repeater>
			</ul>
			<div class="clear"></div>
			<!--申请链接结束-->
			<div class="clear"></div>
			<div class="blue_box"><a>== 本站友情链接展示 ==</a></div>
			<div class="clear"></div>
			<div class="sitelink">
                <dl>
                    <dt><a href="http://www.it134.cn" target="_blank">动力启航</a></dt>
                    <dd><textarea class="textarea"><a href="http://www.it134.cn" target=_blank >动力启航</a></textarea></dd>
                </dl>
                <dl>
                    <dt><a href="http://www.it134.cn" target="_blank"><img src="http://www.it134.cn/images/links.gif" /></a></dt>
                    <dd><textarea class="textarea"><a href="http://www.it134.cn" target=_blank ><img src="http://www.it134.cn/images/links.gif" border=0 alt="动力启航"></a></textarea></dd>
                </dl>
            </div>
            <div class="clear"></div>
            
			<!--申请链接开始-->
			<div class="commentform">
				<div class="nTitle">申请链接<a name="link"></a></div>
				<form id="comment_form" name="comment_form">
					<dl>
						<dt>网站名称：</dt>
						<dd><input name="txtTitle" type="text" maxlength="100" id="txtTitle" class="input2 required" style="width:250px;" /></dd>
					</dl>
					<dl>
						<dt>联系人：</dt>
						<dd><input name="txtUserName" type="text" maxlength="50" id="txtUserName" class="input2 required" style="width:250px;" /></dd>
					</dl>
					<dl>
						<dt>联系电话：</dt>
						<dd><input name="txtUserTel" type="text" maxlength="50" id="txtUserTel" class="input2 required" style="width:250px;" /></dd>
					</dl>
					<dl>
						<dt>电子邮箱：</dt>
						<dd><input name="txtUserMail" type="text" maxlength="50" id="txtUserMail" class="input2 email" style="width:250px;" /></dd>
					</dl>
					<dl>
						<dt>链接网址：</dt>
						<dd><input name="txtWebUrl" type="text" maxlength="250" id="txtWebUrl" class="input2 required url" style="width:350px;" /></dd>
					</dl>
					<dl>
						<dt>链接类型：</dt>
						<dd><input id="rblIsImage_0" type="radio" name="rblIsImage" value="0" checked="checked" /><label for="rblIsImage_0">文字链接</label><input id="rblIsImage_1" type="radio" name="rblIsImage" value="1" /><label for="rblIsImage_1">图片链接</label></dd>
					</dl>
					<dl>
						<dt>LOGO地址：</dt>
						<dd><input name="txtImgUrl" type="text" maxlength="250" id="txtImgUrl" class="input2 url" style="width:350px;" /></dd>
					</dl>
					<dl>
						<dt>备注说明：</dt>
						<dd>提交申请前请确保你的网站已经加入了动力启航的链接。</dd>
					</dl>
					<dl>
						<dt>验证码：</dt>
						<dd style="width:385px;">
							<input name="txtCode" type="text" class="input2 required" minlength="4" maxlength="5" style="width:50px;">
							<a href="javascript:void(0);" onclick="ToggleCode(this, '<%=SiteConfig.WebPath%>Tools/VerifyCodeImage.ashx');return false;"><img src="<%=SiteConfig.WebPath%>Tools/VerifyCodeImage.ashx" width="80" height="22" alt="点击切换验证码" style="vertical-align:middle;"> 看不清楚？</a> </dd>
						<dd>
							<input id="btnSubmit" name="btnSubmit" type="submit" class="submit2" value="提交保存">
						</dd>
					</dl>
					<div class="clear"></div>
				</form>
			</div>

		</div>
	</div>
	<!-- ===== 左侧子导航 ===== -->
	<div class="page_right">
		<h3>关于我们</h3>
		<ul>
			<DtContorl:Repeater ID="rptContentList" runat="server" onload="Content_List_DataBind" Where="ClassId=10">
              <ItemTemplate>
                <li><a href="<%#URLRewrite("content", Eval("CallIndex")) %>"><%#Eval("Title")%></a></li>
              </ItemTemplate>
            </DtContorl:Repeater>
		</ul>
		<h3>最新新闻</h3>
		<ul>
			<DtContorl:Repeater ID="rptList2" runat="server" onload="Article_List_DataBind" Top="8" Where="IsLock=0 and IsRed=1">
              <ItemTemplate>
                <li><a href="<%#URLRewrite("article_show", Eval("Id")) %>"><%#Eval("Title")%></a><i><span><%#Comment_Count((int)Channel.Article,  Convert.ToInt32(Eval("Id")))%> 评论</span><%#Eval("AddTime")%></i></li>
              </ItemTemplate>
            </DtContorl:Repeater>
		</ul>
	</div>
	<div class="clear"></div>
</div>

<div class="bottom">
	<!-- ===== 友情链接 ===== -->
	<div class="links">
		<h3>友情链接</h3>
		<p>
		  <DtContorl:Repeater ID="rptLink1" runat="server" onload="Link_List_DataBind" Top="10" Where="IsLock=0 and IsRed=1 and IsImage=0">
            <ItemTemplate>
            <a target="_blank" href="<%#Eval("WebUrl")%>"><%#Eval("Title")%></a>
            </ItemTemplate>
          </DtContorl:Repeater>
		</p>
		<p>
		  <DtContorl:Repeater ID="rptLink2" runat="server" onload="Link_List_DataBind" Top="12" Where="IsLock=0 and IsRed=1 and IsImage=1">
            <ItemTemplate>
            <a target="_blank" href="<%#Eval("WebUrl")%>"><img src="<%#Eval("ImgUrl")%>" alt="<%#Eval("Title")%>" width="88" height="31" /></a>
            </ItemTemplate>
          </DtContorl:Repeater>
		</p>
		<div class="clear"></div>
	</div>
	<!-- ===== 版权和其他链接 ===== -->
	<div class="footer">
		<p class="footer_links"><a href="<%=URLRewrite("content", "about")%>">关于我们</a>|<a href="<%=URLRewrite("content", "contact")%>">联系我们</a>|<a href="<%=URLRewrite("feedback", "")%>">在线留言</a>|<a href="<%=URLRewrite("link", "")%>">友情链接</a></p>
		<p class="copyright">Copyright Right &copy; 2010-2011 it134.cn Powered By DTcms Inc <script src="http://s24.cnzz.com/stat.php?id=1996164&web_id=1996164&show=pic" language="JavaScript"></script></p>
		<div class="clear"></div>
	</div>
</div>

</body>
</html>

<!-- 本页面代码由DTCMS模板引擎生成于 2011-11-16 11:30:01 -->